package com.hushan.service;

import java.io.Serializable;
import java.util.List;

/**
 * Created by hushan on 2017/6/19.
 */
public interface BaseService<T> {
    int saveOneNotNull(T var1);

    int saveOneWithNull(T val1);

    int deleteByKey(Serializable var1);

    T selectByKey(Serializable var1);

    List<T> selectOne(T var1);

    List<T> selectList(T var1);

}
